<?php
/**
 * Created by PhpStorm.
 * User: FredGui
 * Date: 2017/1/16
 * Time: 11:15
 */
namespace gmm\apps;
use Phalcon\Config;

$db = new Config(
    [
        "database" => [
            "adapter"  => "Mysql",
            "host"     => "127.0.0.1",
            "port"     => 3306,
            "username" => "root",
            "password" => "123456",
            "dbname"   => "wechat_sys",
            'charset'  => "utf8",
        ],

    ]
);

return ['db' => $db];